package eu.szemraj.utils.time {

    public class DateWrapper {

        private var _date:Date;

        public function DateWrapper( date:Date ) {
        	
            _date = date;
        }

        public function getYear( short:Boolean = false ):String {
        	
            if( short )
        		return ("" + _date.getFullYear( )).substr( 2, 2 );
        	else return "" + _date.getFullYear();
        }
        
        
    }
}
